/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package dao.interfaces;

import dao.exception.DAOFormationException;
import java.util.ArrayList;
import model.Formation;

/**
 *
 * @author Paul
 */
public interface DAOFormation {

    public ArrayList<Formation> findAll() throws DAOFormationException;

    public Formation findFormationFromCandidat(int idCandidat) throws DAOFormationException;

    public void create(Formation formation) throws DAOFormationException;

    public void update(Formation formation) throws DAOFormationException;

    public void delete(int idFormation) throws DAOFormationException;
}
